package com.imooc.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class OrderDetail {
    private int detailId;
    private String orderId;
    private int category2Id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime2;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date  updateTime2;
    private Category2 category2;

}
